package com.stenio.fancat.domain;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 充值candy订单表实体类
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("fc_rech_order")
public class RechOrder extends BaseEntity {

	/** 序列化ID */
	private static final long serialVersionUID = 7203510511480998971L;
	/** 自增主键 */
	@TableId(value = "rech_order_id", type = IdType.AUTO)
	private Integer rechOrderId;
	@TableField("rech_order_no")
	private String rechOrderNO;
	@TableField("rech_prod_id")
	private Integer rechProdId;
	/** candy币 */
	@TableField("candy")
	private Integer candy;
	@TableField("rech_paytype_id")
	private Integer rechPaytypeId;
	@TableField("paytype_name")
	private String paytypeName;
	@TableField("user_id")
	private Integer userId;
	@TableField("amount")
	private Integer amount;
	@TableField("status")
	private Integer status;
	@TableField("version")
	private Integer version;
	/** 当前页 **/
	@TableField(exist = false)
	private Integer currentPageNo;
	/** 每页条数 **/
	@TableField(exist = false)
	private Integer pageSize;
	@TableField(exist = false)
	private String ipAddr;

	public static final String USER_ID = "user_id";
	public static final String RECH_ORDER_NO = "rech_order_no";

}
